package entities;

public class SellerEntity {
	private int id = 0;
	private String name = "";
	private String owner = "";
	private String password = "";
	private String address = "";
	private String tel = "";
	private String deliverTime = "";
	private String logoURL = "";
	private int credit = 0;
	private String desc = "";
	private double rank = 0.0D;
	private String email = "";
	private String regTime = "";
	
	//销售额已付、未付
	private int paid;
	private int notpaid;
	
	
	public int getPaid() {
		return paid;
	}

	public void setPaid(int paid) {
		this.paid = paid;
	}

	public int getNotpaid() {
		return notpaid;
	}

	public void setNotpaid(int notpaid) {
		this.notpaid = notpaid;
	}

	public SellerEntity() {
	}

	public SellerEntity(String name, String logoURL) {
		this.name = name;
		this.logoURL = logoURL;
	}

	public SellerEntity(int id, String name,String password, String owner, String address,
			String tel, String deliverTime, String logoURL, int credit,
			String desc, double rank) {
		super();
		this.id = id;
		this.name = name;
		this.password=password;
		this.owner = owner;
		this.address = address;
		this.tel = tel;
		this.deliverTime = deliverTime;
		this.logoURL = logoURL;
		this.credit = credit;
		this.desc = desc;
		this.rank = rank;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getOwner() {
		return owner;
	}
	public String getPassword() {
		return password;
	}
	public String getAddress() {
		return address;
	}

	public String getTel() {
		return tel;
	}

	public String getDeliverTime() {
		return deliverTime;
	}

	public String getLogoURL() {
		return logoURL;
	}

	public int getCredit() {
		return credit;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public void setDeliverTime(String deliverTime) {
		this.deliverTime = deliverTime;
	}

	public void setLogoURL(String logoURL) {
		this.logoURL = logoURL;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public double getRank() {
		return rank;
	}

	public void setRank(double rank) {
		this.rank = rank;
	}
	
	

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getRegTime() {
		return regTime;
	}
	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}
	
	

	@Override  //frk4.17修改过password
	public String toString() {
		return "SellerEntity [id=" + id + ", name=" + name + ", password=" + password+ ", owner=" + owner
				+ ", address=" + address + ", tel=" + tel + ", deliverTime="
				+ deliverTime + ", logoURL=" + logoURL + ", credit=" + credit
				+ ", desc=" + desc + ", rank=" + rank + "]";
	}

}
